package com.sharemarking.wa.platform.dto.index;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * @author dxy
 */
public class OrgListDto {
    private Integer orgId;
    private String orgName;
    private List<String> wasteList;
    @JsonIgnore
    private Integer size;

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public List<String> getWasteList() {
        return wasteList;
    }

    public void setWasteList(List<String> wasteList) {
        this.size = wasteList.size();
        this.wasteList = wasteList;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }
}
